Skip to content

Fix Dependabot alerts: bump black and pytest - #32

Merged
jtprogru merged 3 commits into
mainfrom
fix/dependabot-black-pytest
Jun 28, 2026
Merged

Fix Dependabot alerts: bump black and pytest#32
jtprogru merged 3 commits into
mainfrom
fix/dependabot-black-pytest

Conversation

@jtprogru

Copy link
Copy Markdown
Owner

Что

Обновляет dev-зависимости до пропатченных версий, закрывая открытые Dependabot-алерты:

Severity Пакет Было → стало Advisory
🔴 High black 25.1.0 → 26.3.1 GHSA-3936-cmfr-pm3m (arbitrary file writes из имени cache-файла)
🟡 Medium pytest 8.3.5 → 9.0.3 GHSA-6w46-j5rx-g56g (небезопасная обработка tmpdir)

Заметки

  • black 26.x требует Python >=3.10, поэтому requires-python поднят с >=3.9 до >=3.10. CI уже работает на 3.13, так что на пайплайн не влияет.
  • uv.lock пересобран.

Проверка

  • uv lock + uv sync — ок
  • uv run pytest139 passed

jtprogru added 3 commits June 28, 2026 19:27
Resolves GHSA-3936-cmfr-pm3m (black arbitrary file writes, high) and
GHSA-6w46-j5rx-g56g (pytest tmpdir handling, medium). black 26.x requires
Python >=3.10, so requires-python is bumped accordingly (CI already runs 3.13).
- requires-python >=3.14
- black target-version py314
- CI runs on Python 3.14
@jtprogru
jtprogru merged commit 3e40e5c into main Jun 28, 2026
3 checks passed
@jtprogru
jtprogru deleted the fix/dependabot-black-pytest branch June 28, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant